package com.haierp.model.activity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotations.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;

public class Activity implements Serializable {

	@TableId(type = IdType.AUTO)
	private Long id;
	
	@TableField(value = "company_id") //所属公司
	private Long companyId;
	
	@TableField(value = "activity_name") //专题名称
	private String activityName;
	
	@TableField(value = "activity_no") //专题编号
	private String activityNo;
	
	@TableField(value = "activity_desc") //专题描述
	private String activityDesc;
	
	@TableField(value = "activity_start") //专题开始时间
	private Date activityStart;
	
	@TableField(value = "activity_end") //专题结束时间
	private Date activityEnd;
	
	@TableField(value = "activity_create") //专题创建者
	private String activityCreate;
	
	@TableField(value = "activity_main_pic") //专题主图
	private String activityMainPic;
	
	@TableField(exist = false)
	private List<ActivityDetail> activityDetails; //活动明细
	
	@TableField(exist = false)
	private String activityDetailsList;
	
	@TableField(value = "remark") //备注
	private String remark;
	
	@TableField(value = "gmt_create")
	private Date gmtCreate;
	
	@TableField(value = "gmt_modify")
	private Date gmtModify;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Long companyId) {
		this.companyId = companyId;
	}


	public Date getActivityStart() {
		return activityStart;
	}

	public void setActivityStart(Date activityStart) {
		this.activityStart = activityStart;
	}

	public Date getActivityEnd() {
		return activityEnd;
	}

	public void setActivityEnd(Date activityEnd) {
		this.activityEnd = activityEnd;
	}

	public String getActivityCreate() {
		return activityCreate;
	}

	public void setActivityCreate(String activityCreate) {
		this.activityCreate = activityCreate;
	}

	public String getActivityMainPic() {
		return activityMainPic;
	}

	public void setActivityMainPic(String activityMainPic) {
		this.activityMainPic = activityMainPic;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtModify() {
		return gmtModify;
	}

	public void setGmtModify(Date gmtModify) {
		this.gmtModify = gmtModify;
	}

	public List<ActivityDetail> getActivityDetails() {
		return activityDetails;
	}

	public void setActivityDetails(List<ActivityDetail> activityDetails) {
		this.activityDetails = activityDetails;
	}

	public String getActivityDetailsList() {
		return activityDetailsList;
	}

	public void setActivityDetailsList(String activityDetailsList) {
		this.activityDetailsList = activityDetailsList;
	}

	public String getActivityName() {
		return activityName;
	}

	public void setActivityName(String activityName) {
		this.activityName = activityName;
	}

	public String getActivityNo() {
		return activityNo;
	}

	public void setActivityNo(String activityNo) {
		this.activityNo = activityNo;
	}

	public String getActivityDesc() {
		return activityDesc;
	}

	public void setActivityDesc(String activityDesc) {
		this.activityDesc = activityDesc;
	}
	


	

}
